﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TextTableExample
{
    public partial class TextTableExampleForm : Form
    {
        public TextTableExampleForm()
        {
            InitializeComponent();
        }

        private void btn_CreateTable_Click(object sender, EventArgs e)
        {
            CreateTable.CreateTextTable();
        }

        private void btn_InsertRow_Click(object sender, EventArgs e)
        {
            CreateTable.InsertRow();
        }

        private void btn_InsertCol_Click(object sender, EventArgs e)
        {
            CreateTable.InsertCol();
        }

        private void btn_FillContent_Click(object sender, EventArgs e)
        {
            CreateTable.FillContent();
        }

        private void btn_MergeRow_Click(object sender, EventArgs e)
        {
            CreateTable.MergeRow();
        }

        private void btn_MergeCol_Click(object sender, EventArgs e)
        {
            CreateTable.MergeCol();
        }

        private void btn_ModifyEdge_Click(object sender, EventArgs e)
        {
            CreateTable.ModifyEdge();
        }
    }
}
